@@ -13,7 +13,7 @@ describe Event do |
||
13 | 13 |
Event.last.agent.should == events(:bob_website_agent_event).agent |
14 | 14 |
Event.last.lat.should == 2 |
15 | 15 |
Event.last.lng.should == 3 |
16 |
- Event.last.created_at.should be_within(1).of(Time.now) |
|
16 |
+ Event.last.created_at.to_.should be_within(2).of(Time.now.to_i) |
|
17 | 17 |
end |
18 | 18 |
end |
19 | 19 |
|